package com.lottery.material.service.portal.promotion.impl;

import com.lottery.material.dao.promotion.PromotionRealtimeRecordMapper;
import com.lottery.material.service.portal.promotion.PromotionRealtimeRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Description:    推广实时记录服务实现类
 * Author:         sunny
 * CreateDate:     2019-04-19 16:07
 */
@Service
public class PromotionRealtimeRecordServiceimpl implements PromotionRealtimeRecordService {

    @Autowired
    private PromotionRealtimeRecordMapper promotionRealtimeRecordMapper;

    /**
     * description: 查询当前推广总数
     * author sunny
     * createDate 2019-04-19 下午 4:08
     * @return
     */
    @Override
    public Integer findCurrentPromotionCount() {
        return promotionRealtimeRecordMapper.findCurrentPromotionCount();
    }
}
